#include					"SoundPacket.h"
#include					<iostream>

SoundPacket::SoundPacket()
{
	_content = 0;
}

SoundPacket::~SoundPacket()
{

}

int							SoundPacket::len() const
{
	return _len;
}

short						*SoundPacket::data() const
{
	return _content;
}

int							SoundPacket::frame_size() const
{
	return _frame_size;
}

void						SoundPacket::setData(short *data)
{
	_content = data;
}

void						SoundPacket::setFS(int FS)
{
	_frame_size = FS;
}

void						SoundPacket::setLen(int len)
{
	_len = len;
}

void						SoundPacket::setTime(unsigned int time)
{
	_time = time;
}

unsigned int				SoundPacket::getTime()
{
	return _time;
}
